import Vue from 'vue'

export default {
  async list (data = {}) {
    if (!data.parentid) {
      data.parentid = '0'
    }
    return Vue.http.post('/gxCode/getCodeList', data)
  }
}
